/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-09-27     huger       the first version
 */
#ifndef APPLICATIONS_APP_APP_IO_H_

#define APPLICATIONS_APP_APP_IO_H_


#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include "bsp/bsp.h"
#include <filter/mod_filter.h>

typedef struct {
    uint8_t key_st[8];
    uint8_t sensor_st[3];
} iomap;

extern void app_io_get_gpio_map(iomap* map);
extern void app_io_set_gpio_map(iomap* map);
extern void app_io_init(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* APPLICATIONS_APP_APP_IO_H_ */
